home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet multimedia / Linux LiveCD / GeeXboX 1.0 EN / geexbox-1.0-en.i386.iso / GEEXBOX / etc / init.d / 52_telnet < prev    next >
Text File  |  2006-06-21  |  285b  |  17 lines

  1. #!/bin/sh
  2. #
  3. # start telnet daemon
  4. #
  5. # runlevels: geexbox, debug
  6.  
  7. # get options
  8. test -f /etc/network || exit 1
  9. . /etc/network
  10.  
  11. if test "$TELNET_SERVER" = "yes" -a -f /etc/issue; then
  12.   echo "### Starting telnet daemon ###"
  13.   /usr/sbin/telnetd -f /etc/issue >/dev/null 2>&1 &
  14. fi
  15.  
  16. exit 0
  17.